package com.gmgx.hrms.dao;

import com.gmgx.hrms.entity.Resign;

import java.util.List;

public interface ResignDao {

    //查询用户是否有存在对应等待审批离职记录
    boolean queryResignByEmpId(Integer empid);
    //普通员工的离职添加方法
    boolean addResignForEmp(Resign resign);

    List<Resign> queryResignByStatus(String status);

    boolean updateResignStatusByResignId(int resignid,String status);
}
